package com.example.jdimust.totalbase;

import com.google.gson.annotations.SerializedName;

/**
 * Author: MaZongyang
 * Date: 2021/5/22/0022 20:22
 * Description:
 */
public class BaseBean {

    @SerializedName("flag")
    private Boolean flag;
    @SerializedName("message")
    private String message;
    @SerializedName("result")
    private ResultDTO result;

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public static class ResultDTO {
        @SerializedName("blockchainHeight")
        private Integer blockchainHeight;
        @SerializedName("totalNumberOfTransactions")
        private Integer totalNumberOfTransactions;
        @SerializedName("totalNumberOfUsers")
        private Integer totalNumberOfUsers;
        @SerializedName("totalNumberOfDataAccounts")
        private Integer totalNumberOfDataAccounts;
        @SerializedName("totalNumberOfContracts")
        private Integer totalNumberOfContracts;

        public Integer getBlockchainHeight() {
            return blockchainHeight;
        }

        public void setBlockchainHeight(Integer blockchainHeight) {
            this.blockchainHeight = blockchainHeight;
        }

        public Integer getTotalNumberOfTransactions() {
            return totalNumberOfTransactions;
        }

        public void setTotalNumberOfTransactions(Integer totalNumberOfTransactions) {
            this.totalNumberOfTransactions = totalNumberOfTransactions;
        }

        public Integer getTotalNumberOfUsers() {
            return totalNumberOfUsers;
        }

        public void setTotalNumberOfUsers(Integer totalNumberOfUsers) {
            this.totalNumberOfUsers = totalNumberOfUsers;
        }

        public Integer getTotalNumberOfDataAccounts() {
            return totalNumberOfDataAccounts;
        }

        public void setTotalNumberOfDataAccounts(Integer totalNumberOfDataAccounts) {
            this.totalNumberOfDataAccounts = totalNumberOfDataAccounts;
        }

        public Integer getTotalNumberOfContracts() {
            return totalNumberOfContracts;
        }

        public void setTotalNumberOfContracts(Integer totalNumberOfContracts) {
            this.totalNumberOfContracts = totalNumberOfContracts;
        }
    }
}
